package com.example.smart.ui.activity.home

import com.example.lib.extend.setOnDoubleClickListener
import com.example.lib.utils.statusbar.StatusBarUtils
import com.example.smart.R
import com.example.smart.base.ui.activity.BaseActivity
import com.example.smart.databinding.ActivityFenceBinding
import com.example.smart.utils.DisplayUtils

class FenceActivity : BaseActivity<ActivityFenceBinding>() {

    override fun layoutID() = R.layout.activity_fence

    override fun initView() {
        StatusBarUtils.setStateAndNavigationBar(this@FenceActivity, statusBarColor = com.example.lib.R.color.translate)
    }

    override fun initListener() {
        binding.View1.setOnDoubleClickListener {
            DisplayUtils.toDeviceManager(this@FenceActivity)
        }

        binding.View2.setOnDoubleClickListener {
            DisplayUtils.toDeviceManager(this@FenceActivity)
        }
    }
}